package com.bingxue.edu.common.enums;

import com.bingxue.edu.framework.enums.Dict;
import com.bingxue.edu.framework.enums.DictEnum;
import com.fasterxml.jackson.annotation.JsonValue;
import com.mybatisflex.annotation.EnumValue;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 学生行课状态
 * @author panbo
 * @since 2024/8/1
 */
@Getter
@AllArgsConstructor
@Dict("行课状态")
public enum StudentClassEnum implements DictEnum<Integer> {
    NORMAL(0,"正常"),
    CHANGE_CLASS(1, "转出"),
    CHANGE_LESSON(2, "调出"),
    CANCEL_CLASS(3, "退班"),
    CANCEL_LESSON(4, "退课"),
    ;
    @JsonValue
    @EnumValue
    private final Integer value;
    private final String label;
}
